#include <iostream>
using namespace std;
int main()
{
	int a, b;
	char c;
	cin >> a >> b >> c;
	if(c != '+' && c != '-' && c != '*' && c != '/')
	{
		cout << "Invalid operator!" << endl;
		return 0;
	}
	if(b == 0)
	{
		cout << "Divided by zero!" << endl; 
		return 0;
	}
	
	switch(int(c))
	{
		case 43:
			cout << a + b << endl;
			break;
		case 45:
			cout << a - b << endl;
			break;
		case 42:
			cout << a * b << endl;
			break;
		case 47:
			cout << a / b << endl;
			break;
	}
	return 0;
}
